package com.sky.service;

import com.sky.entity.Wallets;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.vo.WalletsVO;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author GHOSTER by RemSynch
 * @since 2024-10-24
 */
public interface WalletsService extends IService<Wallets> {
    void createWalletAndRecordTransaction(Long userId, BigDecimal amount, Long accountAId);

    List<WalletsVO> getWalletsByUser();
}
